Skip to content

Deprecate Template Imagen class and the methods in it#8085

Merged
rlazo merged 3 commits intomainfrom
deprecate_template_imagen
May 5, 2026
Merged

Deprecate Template Imagen class and the methods in it#8085
rlazo merged 3 commits intomainfrom
deprecate_template_imagen

Conversation

@VinayGuthal
Copy link
Copy Markdown
Contributor

@VinayGuthal VinayGuthal commented May 4, 2026

TemplateImagen class was missed while deprecating imagen. This PR adds the deprecation message to that class and its underlying methods. Also update the deprecation message to include details about migrating to use the new gemini image model.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

@VinayGuthal VinayGuthal changed the title update Deprecate Template Imagen class and the methods in it May 4, 2026
@google-oss-bot
Copy link
Copy Markdown
Collaborator

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@rlazo
Copy link
Copy Markdown
Contributor

rlazo commented May 4, 2026

Add a description to the PR. Also, I think you can include in the @Deprecated message the recommendation to use Gemini instead.

@rlazo rlazo merged commit d2950a5 into main May 5, 2026
30 of 31 checks passed
@rlazo rlazo deleted the deprecate_template_imagen branch May 5, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants